<script setup></script>

<template>
  <meta name="referrer" content="no-referrer" />
  <div class="app">
    <!-- <router-view></router-view> -->
    <router-view v-slot="{ Component }">
      <transition name="fade" mode="out-in">
          <component :is="Component" />
      </transition>
    </router-view>
  </div>
</template>

<style lang="scss">
@font-face {
  font-family: myFont;
  src: url("./assets/font/lishu.ttf");
}
.app {
  width: 100%;
  height: 100%;
  cursor: url('./assets/images/normal.cur'),auto;
  font-family:myFont;
}

</style>

<style scoped lang="scss">
a {
  padding: 20px;
}
.fade-enter-from,
.fade-leave-to {
  /*定义进入开始和离开结束的透明度为0*/
  opacity: 0;
}
.fade-leave-to {
  transform: translateX(20px);
}
.fade-enter-to {
  transform: translateX(-20px);
}
.fade-enter-to,
.fade-leave-from {
  /*定义进入结束和离开开始的透明度为1*/
  opacity: 1;
}
.fade-leave-active,
.fade-enter-active {
  transition: all 0.5s ease-out;
}
</style>
